package com.travel.group.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "group_wxuser")
public class GroupWxuser {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer groupId;
    private String wxuserId;
    private int status;

    @TableField(exist = false)
    private WxUsers wxUsers;
}
